//登录模块
export interface ILoginParams {
  userName: string;
  userPwd: string;
}

//部门模块
export interface IDeptSearchParams {
  deptName: string;
}
export interface IDept {
  _id: string;
  deptName: string;
  userName: string;
  parentId: string;
  createId: number;
  updateTime: string;
  createTime: string;
  __v: number;
  children: IDept[];
}

//用户模块
export interface IUser {
  _id: string;
  useId: number;
  userName: string;
  userEmail: string;
  deptId: string;
  state: number;
  mobile: string;
  job: string;
  role: number;
  roleList: string;
  createId: string;
  deptName: string;
  userImg: string;
}
